package com.jgy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;

/**
 * 
 * @TableName goods
 */
@TableName(value ="goods")
@Data
public class Goods implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 逻辑删除
     */
    @TableField(value = "deleted")
    private Integer deleted;

    /**
     * 备用字段
     */
    @TableField(value = "str3")
    private String str3;

    /**
     * 备用字段
     */
    @TableField(value = "str2")
    private String str2;

    /**
     * 备用字段
     */
    @TableField(value = "str1")
    private String str1;

    /**
     * 三级筛选
     */
    @TableField(value = "third")
    private String third;

    /**
     * 二级筛选
     */
    @TableField(value = "second")
    private String second;

    /**
     * 一级筛选
     */
    @TableField(value = "first")
    private String first;

    /**
     * 商品简介
     */
    @TableField(value = "introductions")
    private String introductions;

    /**
     * 商品图片
     */
    @TableField(value = "photo")
    private String photo;

    /**
     * 价格
     */
    @TableField(value = "price")
    private BigDecimal price;

    /**
     * 商品名
     */
    @TableField(value = "goods")
    private String goods;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}